<?php
namespace app\route;
use think\Route;
use think\Config;
use think\DB;
use think\Request;

Route::rule('/sitemap.xml','sitemap/Sitemap/sitemap');
Route::rule(['xml/:id' => ['sitemap/Sitemap/xml?id=:id',['ext'=>'xml'],['id'=>'\d+']]]);
Route::rule(['tagXml/:id' => ['sitemap/Sitemap/tagXml?id=:id',['ext'=>'xml'],['id'=>'\d+']]]);